package example.mapper;

import example.entity.SecondmentDistributeInfo;

import java.util.List;

public interface SecondmentDistributeInfoMapper {
    void save(SecondmentDistributeInfo secondmentDistributeInfo);

    void saveOneDepartmentConfirm(SecondmentDistributeInfo secondmentDistributeInfo);

    List<Long> getSecondmentIdByDepartmentId(Long departmentId);

    void saveResponseFile(SecondmentDistributeInfo secondmentDistributeInfo);

    List<SecondmentDistributeInfo> getDidsBySecId(Long secondmentId);

    SecondmentDistributeInfo getResFile(SecondmentDistributeInfo secondmentDistributeInfo);

    void changeResState(SecondmentDistributeInfo secondmentDistributeInfo);

    void changeConfirmState(SecondmentDistributeInfo secondmentDistributeInfo);


    Integer getResponseState(SecondmentDistributeInfo secondmentDistributeInfo);

    void deleteBySecondmentId(Long secondmentId);
}
